home *** CD-ROM | disk | FTP | other *** search
- VERSION 4.00
- Begin VB.Form SessionForm
- Caption = "Mail X Session Form"
- ClientHeight = 3075
- ClientLeft = 1485
- ClientTop = 2115
- ClientWidth = 6390
- BeginProperty Font
- name = "MS Sans Serif"
- charset = 0
- weight = 700
- size = 8.25
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- Height = 3450
- Left = 1440
- LinkTopic = "Form2"
- ScaleHeight = 3075
- ScaleWidth = 6390
- Top = 1785
- Width = 6480
- Begin VB.CommandButton Command3
- Caption = "Delete Recipient"
- Height = 375
- Left = 4320
- TabIndex = 10
- Top = 2520
- Width = 1815
- End
- Begin VB.CommandButton Command2
- Caption = "Fetch Next"
- Height = 375
- Left = 2160
- TabIndex = 9
- Top = 2520
- Width = 2055
- End
- Begin VB.CommandButton Command1
- Caption = "Fetch First"
- Height = 375
- Left = 240
- TabIndex = 8
- Top = 2520
- Width = 1695
- End
- Begin VB.CommandButton BtnAddressDialog
- Caption = "Address Dialog"
- Height = 375
- Left = 4320
- TabIndex = 4
- Top = 1920
- Width = 1815
- End
- Begin VB.CommandButton BtnAdd
- Caption = "Add Resolved Names"
- Height = 375
- Left = 2160
- TabIndex = 3
- Top = 1920
- Width = 2055
- End
- Begin VB.CommandButton BtnResolve
- Caption = "ResolveNames"
- Height = 375
- Left = 240
- TabIndex = 2
- Top = 1920
- Width = 1695
- End
- Begin VB.TextBox szResolveText
- Height = 330
- Left = 2220
- TabIndex = 1
- Top = 660
- Width = 3930
- End
- Begin Mailx16Lib.MReci MReci1
- Left = 4920
- Top = 1200
- _Version = 65541
- _ExtentX = 900
- _ExtentY = 900
- _StockProps = 0
- AddressCaption = "Mail X Address Caption "
- BindString = "MMsg1"
- FetchType = 1
- End
- Begin Mailx16Lib.MMsg MMsg1
- Left = 3000
- Top = 1200
- _Version = 65541
- _ExtentX = 900
- _ExtentY = 900
- _StockProps = 0
- SortMsg = 0 'False
- MarkAsRead = 0 'False
- DisplaySendDialog= 0 'False
- BindString = "MSess1"
- End
- Begin Mailx16Lib.MSess MSess1
- Left = 5520
- Top = 0
- _Version = 65541
- _ExtentX = 900
- _ExtentY = 900
- _StockProps = 0
- End
- Begin Mailx16Lib.MForm MForm2
- Left = 120
- Top = 120
- _Version = 65541
- _ExtentX = 3598
- _ExtentY = 500
- _StockProps = 0
- MXFormName = "FormTag1"
- End
- Begin VB.Label nCount
- Height = 315
- Left = 1995
- TabIndex = 7
- Top = 1260
- Width = 795
- End
- Begin VB.Label Label3
- Caption = "Recipient Count:"
- Height = 300
- Left = 180
- TabIndex = 6
- Top = 1260
- Width = 1665
- End
- Begin VB.Label Label2
- Caption = "(Introduce a List: Name1;Name2; etc)"
- Height = 285
- Left = 2205
- TabIndex = 5
- Top = 285
- Width = 3420
- End
- Begin VB.Label Label1
- Caption = "Address To Resolve:"
- Height = 285
- Left = 150
- TabIndex = 0
- Top = 690
- Width = 1995
- End
- Attribute VB_Name = "SessionForm"
- Attribute VB_Creatable = False
- Attribute VB_Exposed = False
- Private Sub BtnAdd_Click()
- MReci1.Action = ACTION_ADDRECIPIENT
- UpdateCount
- UpdateText
- End Sub
- Private Sub BtnAddressDialog_Click()
- MReci1.Action = ACTION_ADDRESS
- UpdateCount
- UpdateText
- End Sub
- Private Sub BtnResolve_Click()
- MReci1.ResolveName = szResolveText
- szResolveText = MReci1.ResolveName
- End Sub
- Private Sub Command1_Click()
- If MReci1.RecipientCount > 0 Then
- MReci1.RecipientNum = 1
- UpdateText
- Else
- MsgBox "Mail X Recipient Control is Empty"
- End If
- End Sub
- Private Sub Command2_Click()
- NextR = MReci1.RecipientNum + 1
- If NextR <= MReci1.RecipientCount Then
- MReci1.RecipientNum = NextR
- UpdateText
- Else
- MsgBox "Last Recipient Reached"
- End If
- End Sub
- Private Sub Command3_Click()
- MReci1.Action = ACTION_DEL_RECIPIENT
- UpdateCount
- UpdateText
- End Sub
- Private Sub Form_Load()
- Load SystemX
- SystemX.MsMail = False
- SystemX.Show 1
- MSess1.Logon = True
- If MSess1.Logon = False Then End
- UpdateCount
- End Sub
- Private Sub UpdateCount()
- nCount = MReci1.RecipientCount
- End Sub
- Private Sub UpdateText()
- szResolveText = MReci1.RecipientName
- End Sub
-